package com.course.domain.dao;

import com.course.domain.model.TaskVideo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Justin on 2017/5/12.
 */
public interface TaskVideoDao extends JpaRepository<TaskVideo, Integer> {

    List<TaskVideo> findByCourseId(int courseId);
}
